package com.juyu.miliao.api.dao.redis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Repository;

import com.juyu.miliao.api.domain.Order;
@Repository
public class PayNotifySGRedisDao {
	@Autowired
	private StringRedisTemplate redisTemplate;
	public void notifySGRedisScheduler(Order order,String json) {
		redisTemplate.opsForHash().put("payNotifySG", order.getOrderId()+"", json);
	}
}
